<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
 
<?php
if (isset($css_files)){
foreach($css_files as $file): ?>
    <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />

<?php endforeach; ?>
<?php } ?> 
<?php if(isset($js_files)) { ?>
<?php foreach($js_files as $file): ?>
 
    <script src="<?php echo $file; ?>"></script>
<?php endforeach; ?>
<?php } ?>
<style type='text/css'>
body
{
    font-family: Arial;
    font-size: 14px;
}
a {
    color: blue;
    text-decoration: none;
    font-size: 14px;
}
a:hover
{
    text-decoration: underline;
}
</style>
</head>
<body>
<!-- Beginning header -->
    <div>
        <a href='<?php echo site_url('admindb/main/stages')?>'>Stages</a> | 
        <a href='<?php echo site_url('admindb/main/riders')?>'>Riders</a> |
        <a href='<?php echo site_url('admindb/main/rider_types')?>'>Rider Types</a> |
        <a href='<?php echo site_url('admindb/main/teams')?>'>Teams</a> |
        <a href='<?php echo site_url('admindb/main/points')?>'>Points</a> | 
        <a href='<?php echo site_url('admindb/main/selections')?>'>Selections</a> ---
        <a href='<?php echo site_url('admindb/main/users')?>'>Users</a> |
        <a href='<?php echo site_url('admindb/main/groups')?>'>Groups</a> |
        <a href='<?php echo site_url('admindb/main/users_groups')?>'>Users &amp; Groups</a>
        ---
        <a href='<?php echo site_url('admindb/main/config')?>'>Configuration</a>
        
        
    </div>
<!-- End of header-->
    <div style='height:20px;'></div>  
    <div>
        <?php if (isset($output)) { echo $output; } ?>
 
    </div>
<!-- Beginning footer -->

<!-- End of Footer -->
</body>
</html>